/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package DatabaseAccessing;

/**
 *
 * @author eisa
 */
public class AddUserException extends Exception {
private String exceptionMessage;
private int exceptionNum;

    public AddUserException(String msg,int exceptionNum) {
          exceptionMessage=msg;
          this.exceptionNum=exceptionNum;
    }
    public String toString()
    {
       return exceptionMessage;
    }
    public int exceptionNumber()
    {
    return exceptionNum;
    }




}
